Support search update for MySQL search engine
authorChad Horohoe <chadh@wikimedia.org>
Thu, 29 Aug 2013 21:05:53 +0000 (14:05 -0700)
committerChad Horohoe <chadh@wikimedia.org>
Thu, 29 Aug 2013 21:05:53 +0000 (14:05 -0700)
Since change I2063fe0 SearchMySQL does not do a search update anymore.

Bug: 53408
Change-Id: I7ccd033c13f4dd622dde7ac97c56f68474780ef2

includes/search/SearchMySQL.php

index d8c638e..b2bc1c2 100644 (file)
@@ -212,11 +212,10 @@ class SearchMySQL extends SearchEngine {
 
        public function supports( $feature ) {
                switch ( $feature ) {
-               case 'list-redirects':
                case 'title-suffix-filter':
                        return true;
                default:
-                       return false;
+                       return parent::supports( $feature );
                }
        }